package cn.com.mall.product.feign;

import cn.com.mall.common.dto.SkuHasStockVo;
import cn.com.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeignService {

    @PostMapping("ware/waresku/hasStock")
    public R<List<SkuHasStockVo>> getSkusHasStock(List<Long> skuIds);
}
